Basic types and their properties

From Cppreference

Jump to: navigation, search

Contents

[edit] Basic types

See this for additional information about fundamental types implicitly defined by the language

Defined in header <cstddef>
ptrdiff_t signed integer type returned after substracting two pointers
size_t unsigned integer type returned by sizeof operator
nullptr_t the type of NULL pointer object (nullptr) (C++0x)
max_align_t POD type which has the alignment supported in every context (C++0x)

[edit] Fixed width integer types(C++0x feature)

[edit] numeric_limits

numeric_limits
provides an interface to query properties of all fundamental numeric types.
(class template)

[edit] C numeric limits interface

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages